package br.com.naybee.framework.client.componente.gwt.web;

import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.ParagraphElement;
import com.google.gwt.user.client.ui.ComplexPanel;

public class P extends ComplexPanel {

	final ParagraphElement elementP = Document.get().createPElement();

	public P() {
		setElement(elementP);
	}

	public void setText(String texto) {
		elementP.setInnerText(texto);
	}

	public String getText() {
		return elementP.getInnerText();
	}

	public void setClassName(String classe) {
		elementP.setClassName(classe);
	}

	public String getClassName() {
		return elementP.getClassName();
	}

}
